package felix.things.router.mqtt.server.common.message;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * Retain标志消息存储
 *
 * @author Felix
 * @date 2019/8/21
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class RetainMessageStore implements Serializable {

    private static final long serialVersionUID = -7548204047370972779L;

    private String topic;

//    private byte[] messageBytes;

    private String messageBase64;

    private int mqttQoS;
}
